import unittest

from testcase.test_crmeb_shopping import Shopping

if __name__ == '__main__':
    # 读取testcase中的所有test_开头的py文件,
    suite = unittest.defaultTestLoader.discover("testcase", "test_*.py")
    # 创建一个用例执行器--生成文字报告
    runner = unittest.TextTestRunner()
    runner.run(suite)
